<h2><?php echo $this->item['title_' . $this->locale] ?></h2>
<div class="content">

	<?php echo  $this->item['lead_' . $this->locale]; ?>
	<br /><br />
	<?php echo  $this->item['body_' . $this->locale]; ?>
	<br /><br />
	<hr class="wh" />
	<br /><br />
	
	<?php if( $this->item['species'] == 1 ) { ?>
	
		<script type="text/javascript">
			function fotostory_function( description ) {
				$( "#description" ).text( description );
			}

			<!-- For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection. --> 
			var swfVersionStr = "10.0.0";
			<!-- To use express install, set to playerProductInstall.swf, otherwise the empty string. -->
			var xiSwfUrlStr = "playerProductInstall.swf";
			var flashvars = {};
			flashvars.xml_path = "<?php echo $this->baseUrl(); ?>/index/putter/id/<?php echo $this->item['galeries_g_id'] ?>";
			var params = {};
			params.quality = "high";
			params.bgcolor = "#000000";
			params.allowscriptaccess = "sameDomain";
			params.allowfullscreen = "true";
			var attributes = {};
			attributes.id = "Carnauba_Gallery";
			attributes.name = "Carnauba_Gallery";
			attributes.align = "middle";
			swfobject.embedSWF(
			"<?php echo $this->baseUrl(); ?>/public/swf/Carnauba_Gallery04.swf", "gallerycontent", 
			"642px", "500px", 
			swfVersionStr, xiSwfUrlStr, 
			flashvars, params, attributes);
			<!-- JavaScript enabled so display the flashContent div in case it is not replaced with a swf object. -->
			swfobject.createCSS("#gallerycontent", "display:block;text-align:left;width:642px;height:500px;");
		</script>
		
		<div id="description"></div>
		<br /><br />
	<?php } else { ?>
	
		<script type="text/javascript">
			<!-- For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection. --> 
			var swfVersionStr = "10.0.0";
			<!-- To use express install, set to playerProductInstall.swf, otherwise the empty string. -->
			var xiSwfUrlStr = "playerProductInstall.swf";
			var flashvars = {};
			flashvars.xml_path = "<?php echo $this->baseUrl(); ?>/index/putter/id/<?php echo $this->item['galeries_g_id'] ?>";
			var params = {};
			params.quality = "high";
			params.bgcolor = "#000000";
			params.allowscriptaccess = "sameDomain";
			params.allowfullscreen = "true";
			var attributes = {};
			attributes.id = "Carnauba_Gallery";
			attributes.name = "Carnauba_Gallery";
			attributes.align = "middle";
			swfobject.embedSWF(
			"<?php echo $this->baseUrl(); ?>/public/swf/Carnauba_Gallery04.swf", "gallerycontent", 
			"642px", "500px", 
			swfVersionStr, xiSwfUrlStr, 
			flashvars, params, attributes);
			<!-- JavaScript enabled so display the flashContent div in case it is not replaced with a swf object. -->
			swfobject.createCSS("#gallerycontent", "display:block;text-align:left;width:642px;height:500px;");
		</script>
	
	<?php } ?>
	
	<div id="gallerycontent"></div>
</div>